# string.replace

s = "加qq，提供上门服务"
print(s.replace("qq","**"))


# 字符串是否有纯数字组成
s1 = "123456"
print(s1.isdigit())

# 判断字符串是否由村数字组成
st1 = "abc"
print(st1.isalpha())

# 判断字符串是否由存数字和字母组成
str2 = "adcde123"
print(str2.isalnum())

# 字符串是否是存纯空格
str4 = " "
print(str4.isspace())